/**
* @file drv_ctp.c
* @brief  ctp driver
* @details 
* @author huangbin
* @version V1.0.0
* @date 2025-05-10
* @copyright All documents are copyrighted by Shenzhen Xinlongwei Technology Co., LTD.
*            They may not be used for commercial purposes without permission
*/
#include "inc.h"
#include "ctp_cst8xx.h"
#include "ctp_gt911.h"


////////////////////////////////////////////////////
#if CTP_TYPE ==	CTP_TYPE_GT911
	#define TP_IIC_SLAVE_ADDR  TP_IIC_SLAVE_ADDR_GT911
	#include "ctp_gt911.c"
#elif CTP_TYPE ==	CTP_TYPE_CST328
	#define TP_IIC_SLAVE_ADDR  TP_IIC_SLAVE_ADDR_CST328
	#include "ctp_cst3xx.c"
#elif CTP_TYPE ==	CTP_TYPE_CST816
	#define TP_IIC_SLAVE_ADDR  TP_IIC_SLAVE_ADDR_CST816D
	#include "ctp_cst8xx.c"
#elif CTP_TYPE ==	CTP_TYPE_FT6336U //same as CSTXX
	#define TP_IIC_SLAVE_ADDR  TP_IIC_SLAVE_ADDR_FT6336U
	#include "ctp_cst8xx.c"
#endif





















//////////////////////////////////////////////////////////



